home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / fun / winetast.sit / Wine Tasting / background_2764.txt < prev    next >
Text File  |  1990-08-16  |  38KB  |  1,483 lines

  1. -- background: 2764 from stack: in
  2. -- bmap block id: 3181
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on lockit
  8.   if the locktext of fld "name" is false then
  9.     set locktext of fld "name" to true
  10.     set locktext of fld "district" to true
  11.     set locktext of fld "type" to true
  12.     set locktext of fld "taster" to true
  13.     set locktext of fld "vintage" to true
  14.     set locktext of fld "price" to true
  15.     set locktext of fld "merchant" to true
  16.     set locktext of fld "date of tasting" to true
  17.     set locktext of fld "comments" to true
  18.     set locktext of fld "sightcom" to true
  19.     set locktext of fld "smellcom" to true
  20.     set locktext of fld "tastecom" to true
  21.   end if
  22.   put "Locked" into fld "lock"
  23.   set the icon of bkgnd btn "lock" to "locked"
  24. end lockit
  25.  
  26. on unlockit
  27.   if the locktext of fld "name" is true then
  28.     set locktext of fld "name" to false
  29.     set locktext of fld "district" to false
  30.     set locktext of fld "type" to false
  31.     set locktext of fld "taster" to false
  32.     set locktext of fld "vintage" to false
  33.     set locktext of fld "price" to false
  34.     set locktext of fld "merchant" to false
  35.     set locktext of fld "date of tasting" to false
  36.     set locktext of fld "comments" to false
  37.     set locktext of fld "sightcom" to false
  38.     set locktext of fld "smellcom" to false
  39.     set locktext of fld "tastecom" to false
  40.   end if
  41.   put "Unlocked" into fld "lock"
  42.   set the icon of bkgnd btn "lock" to "unlocked"
  43. end unlockit
  44.  
  45. on resize
  46.   put the number of lines of target into nlines
  47.   get rect of target
  48.   if nlines > 0 then
  49.     put (nlines * 16 + 1 + item 2 of it) into length
  50.     put length into item 4 of it
  51.     set rect of target to it
  52.   else
  53.     put (17 + item 2 of it) into length
  54.     put length into item 4 of it
  55.     set rect of target to it
  56.   end if
  57. end resize
  58.  
  59. on opencard
  60.   if bkgnd fld "red-white" is "red" then
  61.     set highlight of bkgnd btn "red" to true
  62.     set highlight of bkgnd btn "white" to false
  63.     put "Tannin" into bkgnd fld "sweetness-tannin label"
  64.   end if
  65.   if bkgnd fld "red-white" is "white" then
  66.     set highlight of bkgnd btn "white" to true
  67.     set highlight of bkgnd btn "red" to false
  68.     put "Sweetness" into bkgnd fld "sweetness-tannin label"
  69.   end if
  70.   put "Clarity"&return&"Depth of Color"&return&"Color"&return& "Viscosity"& return & "Score" & return & "Desciption" into bkgnd fld "sight labels"
  71.   put "General Appeal" & return & "Fruit Aroma" & return & "Bouquet" & return & "Score" & return & "Description" into bkgnd fld "smell labels"
  72.   put "Acidity" & return & "Body" & return & "Length" & return & "Balance" & return & "Score" & return & "Description" into bkgnd fld "taste labels"
  73.   put "Overall Quality" & return & "Score" & return & "Description" into bkgnd fld "overall quality labels"
  74.  
  75.  
  76.   send resize to bkgnd fld "sight description"
  77.   send resize to bkgnd fld "smell description"
  78.   send resize to bkgnd fld "taste description"
  79.   send resize to bkgnd fld "overall quality description"
  80.  
  81.   if fld "sightcom" is empty then
  82.     set icon of bkgnd btn "sightcom" to "nocom"
  83.   else
  84.     set icon of bkgnd btn "sightcom" to "com"
  85.   end if
  86.   if fld "smellcom" is empty then
  87.     set icon of bkgnd btn "smellcom" to "nocom"
  88.   else
  89.     set icon of bkgnd btn "smellcom" to "com"
  90.   end if
  91.   if fld "tastecom" is empty then
  92.     set icon of bkgnd btn "tastecom" to "nocom"
  93.   else
  94.     set icon of bkgnd btn "tastecom" to "com"
  95.   end if
  96.   hide fld "sightcom"
  97.   hide fld "smellcom"
  98.   hide fld "tastecom"
  99.  
  100.   if fld "lock" is "Locked" then
  101.     lockit
  102.   else
  103.     unlockit
  104.   end if
  105.  
  106. end opencard
  107.  
  108. on openStack
  109.   hide message box
  110.   show menuBar
  111.   hide bkgnd fld "red-white"
  112.   hide fld "lock"
  113.   pass openStack
  114. end openStack
  115.  
  116. on idle
  117.   if fld "lock" is not "Locked" then
  118.     get bkgnd fld "overall quality score"
  119.     if it is not empty then
  120.       put it into total
  121.       get bkgnd fld "taste score"
  122.       if it is not empty then
  123.         add it to total
  124.         get bkgnd fld "smell score"
  125.         if it is not empty then
  126.           add it to total
  127.           get bkgnd fld "sight score"
  128.           if it is not empty then
  129.             add it to total
  130.             put total into bkgnd fld "scoring"
  131.           end if
  132.         end if
  133.       end if
  134.     end if
  135.   end if
  136.   pass idle
  137. end idle
  138.  
  139.  
  140.  
  141.  
  142. -- part 59 (field)
  143. -- low flags: 00
  144. -- high flags: 0007
  145. -- rect: left=169 top=258 right=340 bottom=352
  146. -- title width / last selected line: 0
  147. -- icon id / first selected line: 0 / 0
  148. -- text alignment: 0
  149. -- font id: 20
  150. -- text size: 12
  151. -- style flags: 0
  152. -- line height: 16
  153. -- part name: comments
  154.  
  155.  
  156. -- part 64 (button)
  157. -- low flags: 00
  158. -- high flags: 2000
  159. -- rect: left=387 top=272 right=303 bottom=423
  160. -- title width / last selected line: 0
  161. -- icon id / first selected line: 28024 / 28024
  162. -- text alignment: 1
  163. -- font id: 0
  164. -- text size: 12
  165. -- style flags: 0
  166. -- line height: 16
  167. -- part name: finder
  168. ----- HyperTalk script -----
  169. on mouseUp
  170.   put empty into names
  171.   repeat with i=1 to number of cards
  172.     put fld "name" of cd i after names
  173.     if i is not number of cards then put return after names
  174.   end repeat
  175.  
  176.   get XScrollBox(0,"Select one:",names)
  177.   go cd (item 1 of it)
  178.  
  179. end mouseUp
  180.  
  181.  
  182.  
  183. -- part 74 (button)
  184. -- low flags: 00
  185. -- high flags: 2000
  186. -- rect: left=471 top=276 right=298 bottom=500
  187. -- title width / last selected line: 0
  188. -- icon id / first selected line: 21700 / 21700
  189. -- text alignment: 1
  190. -- font id: 0
  191. -- text size: 12
  192. -- style flags: 0
  193. -- line height: 16
  194. -- part name: 
  195. ----- HyperTalk script -----
  196. on mouseUp
  197.   go home
  198. end mouseUp
  199.  
  200.  
  201.  
  202. -- part 65 (button)
  203. -- low flags: 00
  204. -- high flags: 2000
  205. -- rect: left=429 top=271 right=303 bottom=462
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 20186 / 20186
  208. -- text alignment: 1
  209. -- font id: 0
  210. -- text size: 12
  211. -- style flags: 0
  212. -- line height: 16
  213. -- part name: sorter
  214. ----- HyperTalk script -----
  215. on mouseUp
  216.   answer "Sort by..." with "Name" or "Vintage" or "Score"
  217.   if it is "Name" then sort by fld "name"
  218.   if it is "Vintage" then sort by fld "vintage"
  219.   if it is "Score" then sort descending by fld "scoring"
  220.   go first cd
  221. end mouseUp
  222.  
  223.  
  224.  
  225. -- part 6 (field)
  226. -- low flags: 01
  227. -- high flags: 0002
  228. -- rect: left=87 top=136 right=154 bottom=161
  229. -- title width / last selected line: 0
  230. -- icon id / first selected line: 0 / 0
  231. -- text alignment: 0
  232. -- font id: 20
  233. -- text size: 12
  234. -- style flags: 0
  235. -- line height: 16
  236. -- part name: clarity
  237. ----- HyperTalk script -----
  238. on mouseDown
  239.   if fld "lock" is "Unlocked" then
  240.     put "cloudy,bitty,dull,clear,brilliant" into choices
  241.     get PopUpMenu(choices,0)
  242.     if it is not empty then put item it of choices into target
  243.   end if
  244. end mouseDown
  245.  
  246.  
  247.  
  248. -- part 16 (field)
  249. -- low flags: 01
  250. -- high flags: 0002
  251. -- rect: left=87 top=152 right=169 bottom=161
  252. -- title width / last selected line: 0
  253. -- icon id / first selected line: 0 / 0
  254. -- text alignment: 0
  255. -- font id: 20
  256. -- text size: 12
  257. -- style flags: 0
  258. -- line height: 16
  259. -- part name: depth of color
  260. ----- HyperTalk script -----
  261. on mouseDown
  262.   if fld "lock" is "Unlocked" then
  263.     put "watery,pale,medium,deep,dark" into choices
  264.     get PopUpMenu(choices,0)
  265.     if it is not empty then put item it of choices into target
  266.   end if
  267. end mouseDown
  268.  
  269.  
  270.  
  271. -- part 17 (field)
  272. -- low flags: 01
  273. -- high flags: 0002
  274. -- rect: left=87 top=168 right=185 bottom=161
  275. -- title width / last selected line: 0
  276. -- icon id / first selected line: 0 / 0
  277. -- text alignment: 0
  278. -- font id: 20
  279. -- text size: 12
  280. -- style flags: 0
  281. -- line height: 16
  282. -- part name: color (red)
  283. ----- HyperTalk script -----
  284. on mouseDown
  285.   if fld "lock" is "Unlocked" then
  286.     put numtochar(47) into slash
  287.     put "purple,purple-red,red,red-brown" into choices
  288.     get PopUpMenu(choices,0)
  289.     if it is not empty then put item it of choices into target
  290.   end if
  291. end mouseDown
  292.  
  293.  
  294.  
  295. -- part 18 (field)
  296. -- low flags: 81
  297. -- high flags: 0002
  298. -- rect: left=87 top=168 right=185 bottom=161
  299. -- title width / last selected line: 0
  300. -- icon id / first selected line: 0 / 0
  301. -- text alignment: 0
  302. -- font id: 20
  303. -- text size: 12
  304. -- style flags: 0
  305. -- line height: 16
  306. -- part name: color (white)
  307. ----- HyperTalk script -----
  308. on mouseDown
  309.   if fld "lock" is "Unlocked" then
  310.     put "green tinge,pale yellow,gold,brown" into choices
  311.     get PopUpMenu(choices,0)
  312.     if it is not empty then put item it of choices into target
  313.   end if
  314. end mouseDown
  315.  
  316.  
  317.  
  318. -- part 19 (field)
  319. -- low flags: 01
  320. -- high flags: 0002
  321. -- rect: left=87 top=184 right=201 bottom=161
  322. -- title width / last selected line: 0
  323. -- icon id / first selected line: 0 / 0
  324. -- text alignment: 0
  325. -- font id: 20
  326. -- text size: 12
  327. -- style flags: 0
  328. -- line height: 16
  329. -- part name: viscosity
  330. ----- HyperTalk script -----
  331. on mouseDown
  332.   if fld "lock" is "Unlocked" then
  333.     put "slight sparkle,watery,normal,heavy,oily" into choices
  334.     get PopUpMenu(choices,0)
  335.     if it is not empty then put item it of choices into target
  336.   end if
  337. end mouseDown
  338.  
  339.  
  340.  
  341. -- part 20 (field)
  342. -- low flags: 01
  343. -- high flags: 0002
  344. -- rect: left=87 top=200 right=217 bottom=161
  345. -- title width / last selected line: 0
  346. -- icon id / first selected line: 0 / 0
  347. -- text alignment: 0
  348. -- font id: 20
  349. -- text size: 12
  350. -- style flags: 0
  351. -- line height: 16
  352. -- part name: sight score
  353. ----- HyperTalk script -----
  354. on mouseDown
  355.   if fld "lock" is "Unlocked" then
  356.     put "0,1,2,3,4" into choices
  357.     get PopUpMenu(choices,0)
  358.     if it is not empty then put item it of choices into target
  359.   end if
  360. end mouseDown
  361.  
  362.  
  363.  
  364. -- part 21 (field)
  365. -- low flags: 01
  366. -- high flags: 0000
  367. -- rect: left=8 top=136 right=233 bottom=88
  368. -- title width / last selected line: 0
  369. -- icon id / first selected line: 0 / 0
  370. -- text alignment: 65535
  371. -- font id: 20
  372. -- text size: 12
  373. -- style flags: 0
  374. -- line height: 16
  375. -- part name: sight labels
  376.  
  377.  
  378. -- part 24 (button)
  379. -- low flags: 00
  380. -- high flags: C006
  381. -- rect: left=211 top=51 right=67 bottom=258
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 0 / 0
  384. -- text alignment: 1
  385. -- font id: 0
  386. -- text size: 12
  387. -- style flags: 0
  388. -- line height: 16
  389. -- part name: Red
  390. ----- HyperTalk script -----
  391. on mousedown
  392.   if fld "lock" is "Unlocked" then
  393.     put "red" into bkgnd fld "red-white"
  394.     set highlight of me to true
  395.     set highlight of bkgnd btn "white" to false
  396.     show bkgnd fld "color (red)"
  397.     hide bkgnd fld "color (white)"
  398.     put "Tannin" into bkgnd fld "sweetness-tannin label"
  399.     show bkgnd fld "tannin"
  400.     hide bkgnd fld "sweetness"
  401.   end if
  402. end mousedown
  403.  
  404.  
  405. -- part 25 (button)
  406. -- low flags: 00
  407. -- high flags: 8006
  408. -- rect: left=211 top=67 right=84 bottom=272
  409. -- title width / last selected line: 0
  410. -- icon id / first selected line: 0 / 0
  411. -- text alignment: 1
  412. -- font id: 0
  413. -- text size: 12
  414. -- style flags: 0
  415. -- line height: 16
  416. -- part name: White
  417. ----- HyperTalk script -----
  418. on mousedown
  419.   if fld "lock" is "Unlocked" then
  420.     put "white" into bkgnd fld "red-white"
  421.     set highlight of me to true
  422.     set highlight of bkgnd btn "red" to false
  423.     show bkgnd fld "color (white)"
  424.     hide bkgnd fld "color (red)"
  425.     put "Sweetness" into bkgnd fld "sweetness-tannin label"
  426.     show bkgnd fld "sweetness"
  427.     hide bkgnd fld "tannin"
  428.   end if
  429. end mousedown
  430.  
  431.  
  432. -- part 26 (field)
  433. -- low flags: 01
  434. -- high flags: 0002
  435. -- rect: left=87 top=216 right=233 bottom=161
  436. -- title width / last selected line: 0
  437. -- icon id / first selected line: 0 / 0
  438. -- text alignment: 0
  439. -- font id: 20
  440. -- text size: 12
  441. -- style flags: 0
  442. -- line height: 16
  443. -- part name: sight description
  444. ----- HyperTalk script -----
  445. on mouseDown
  446.   if fld "lock" is "Unlocked" then
  447.     put "starbright,tuil├⌐,straw,amber,tawny,ruby,garnet,oel de perdrix,hazy,opaque,CLEAR" into choices
  448.     get PopUpMenu(choices,0)
  449.     if it is not empty then
  450.       if target is not empty then put return after target
  451.       if item it of choices is "CLEAR" then
  452.         put empty into target
  453.       else
  454.         put item it of choices after target
  455.       end if
  456.     end if
  457.     put the number of lines of target into nlines
  458.     get rect of target
  459.     if nlines > 0 then
  460.       put (nlines * 16 + 1 + item 2 of it) into length
  461.       put length into item 4 of it
  462.       set rect of target to it
  463.     else
  464.       put (17 + item 2 of it) into length
  465.       put length into item 4 of it
  466.       set rect of target to it
  467.     end if
  468.   end if
  469. end mouseDown
  470.  
  471.  
  472.  
  473.  
  474.  
  475. -- part 27 (field)
  476. -- low flags: 01
  477. -- high flags: 0000
  478. -- rect: left=182 top=136 right=217 bottom=263
  479. -- title width / last selected line: 0
  480. -- icon id / first selected line: 0 / 0
  481. -- text alignment: 65535
  482. -- font id: 20
  483. -- text size: 12
  484. -- style flags: 0
  485. -- line height: 16
  486. -- part name: smell labels
  487.  
  488.  
  489. -- part 28 (field)
  490. -- low flags: 01
  491. -- high flags: 0002
  492. -- rect: left=262 top=136 right=153 bottom=336
  493. -- title width / last selected line: 0
  494. -- icon id / first selected line: 0 / 0
  495. -- text alignment: 0
  496. -- font id: 20
  497. -- text size: 12
  498. -- style flags: 0
  499. -- line height: 16
  500. -- part name: general appeal
  501. ----- HyperTalk script -----
  502. on mouseDown
  503.   if fld "lock" is "Unlocked" then
  504.     put "neutral,clean,attractive,outstanding,off" into choices
  505.     get PopUpMenu(choices,0)
  506.     if it is not empty then put item it of choices into target
  507.   end if
  508. end mouseDown
  509.  
  510.  
  511.  
  512. -- part 29 (field)
  513. -- low flags: 01
  514. -- high flags: 0002
  515. -- rect: left=262 top=152 right=169 bottom=336
  516. -- title width / last selected line: 0
  517. -- icon id / first selected line: 0 / 0
  518. -- text alignment: 0
  519. -- font id: 20
  520. -- text size: 12
  521. -- style flags: 0
  522. -- line height: 16
  523. -- part name: fruit aroma
  524. ----- HyperTalk script -----
  525. on mouseDown
  526.   if fld "lock" is "Unlocked" then
  527.     put "none,slight,positive,identifiable" into choices
  528.     get PopUpMenu(choices,0)
  529.     if it is not empty then put item it of choices into target
  530.   end if
  531. end mouseDown
  532.  
  533.  
  534.  
  535. -- part 30 (field)
  536. -- low flags: 01
  537. -- high flags: 0002
  538. -- rect: left=262 top=168 right=185 bottom=336
  539. -- title width / last selected line: 0
  540. -- icon id / first selected line: 0 / 0
  541. -- text alignment: 0
  542. -- font id: 20
  543. -- text size: 12
  544. -- style flags: 0
  545. -- line height: 16
  546. -- part name: bouquet
  547. ----- HyperTalk script -----
  548. on mouseDown
  549.   if fld "lock" is "Unlocked" then
  550.     put "none,pleasant,complex,powerful" into choices
  551.     get PopUpMenu(choices,0)
  552.     if it is not empty then put item it of choices into target
  553.   end if
  554. end mouseDown
  555.  
  556.  
  557.  
  558. -- part 31 (field)
  559. -- low flags: 01
  560. -- high flags: 0002
  561. -- rect: left=262 top=184 right=201 bottom=336
  562. -- title width / last selected line: 0
  563. -- icon id / first selected line: 0 / 0
  564. -- text alignment: 0
  565. -- font id: 20
  566. -- text size: 12
  567. -- style flags: 0
  568. -- line height: 16
  569. -- part name: smell score
  570. ----- HyperTalk script -----
  571. on mouseDown
  572.   if fld "lock" is "Unlocked" then
  573.     put "0,1,2,3,4" into choices
  574.     get PopUpMenu(choices,0)
  575.     if it is not empty then put item it of choices into target
  576.   end if
  577. end mouseDown
  578.  
  579.  
  580.  
  581. -- part 33 (field)
  582. -- low flags: 01
  583. -- high flags: 0002
  584. -- rect: left=262 top=200 right=217 bottom=336
  585. -- title width / last selected line: 0
  586. -- icon id / first selected line: 0 / 0
  587. -- text alignment: 0
  588. -- font id: 20
  589. -- text size: 12
  590. -- style flags: 0
  591. -- line height: 16
  592. -- part name: smell description
  593. ----- HyperTalk script -----
  594. on mouseDown
  595.   if fld "lock" is "Unlocked" then
  596.     put "cedarwood,corly,woody,dumb,flowery,smoky,honeyed,lemony,spicy,mouldy,peardrops,sulphury,CLEAR" into choices
  597.     get PopUpMenu(choices,0)
  598.     if it is not empty then
  599.       if target is not empty then put return after target
  600.       if item it of choices is "CLEAR" then
  601.         put empty into target
  602.       else
  603.         put item it of choices after target
  604.       end if
  605.     end if
  606.     put the number of lines of target into nlines
  607.     get rect of target
  608.     if nlines > 0 then
  609.       put (nlines * 16 + 1 + item 2 of it) into length
  610.       put length into item 4 of it
  611.       set rect of target to it
  612.     else
  613.       put (17 + item 2 of it) into length
  614.       put length into item 4 of it
  615.       set rect of target to it
  616.     end if
  617.   end if
  618. end mouseDown
  619.  
  620.  
  621.  
  622. -- part 34 (field)
  623. -- low flags: 01
  624. -- high flags: 0000
  625. -- rect: left=358 top=153 right=250 bottom=419
  626. -- title width / last selected line: 0
  627. -- icon id / first selected line: 0 / 0
  628. -- text alignment: 65535
  629. -- font id: 20
  630. -- text size: 12
  631. -- style flags: 0
  632. -- line height: 16
  633. -- part name: taste labels
  634.  
  635.  
  636. -- part 35 (field)
  637. -- low flags: 01
  638. -- high flags: 0000
  639. -- rect: left=358 top=137 right=154 bottom=419
  640. -- title width / last selected line: 0
  641. -- icon id / first selected line: 0 / 0
  642. -- text alignment: 65535
  643. -- font id: 20
  644. -- text size: 12
  645. -- style flags: 0
  646. -- line height: 16
  647. -- part name: sweetness-tannin label
  648.  
  649.  
  650. -- part 36 (field)
  651. -- low flags: 01
  652. -- high flags: 0002
  653. -- rect: left=418 top=137 right=154 bottom=500
  654. -- title width / last selected line: 0
  655. -- icon id / first selected line: 0 / 0
  656. -- text alignment: 0
  657. -- font id: 20
  658. -- text size: 12
  659. -- style flags: 0
  660. -- line height: 16
  661. -- part name: tannin
  662. ----- HyperTalk script -----
  663. on mouseDown
  664.   if fld "lock" is "Unlocked" then
  665.     put "astringent,hard,dry,soft" into choices
  666.     get PopUpMenu(choices,0)
  667.     if it is not empty then put item it of choices into target
  668.   end if
  669. end mouseDown
  670.  
  671.  
  672.  
  673. -- part 37 (field)
  674. -- low flags: 81
  675. -- high flags: 0002
  676. -- rect: left=418 top=137 right=154 bottom=500
  677. -- title width / last selected line: 0
  678. -- icon id / first selected line: 0 / 0
  679. -- text alignment: 0
  680. -- font id: 20
  681. -- text size: 12
  682. -- style flags: 0
  683. -- line height: 16
  684. -- part name: sweetness
  685. ----- HyperTalk script -----
  686. on mouseDown
  687.   if fld "lock" is "Unlocked" then
  688.     put "bone dry,dry,medium dry,medium,sweet,very sweet" into choices
  689.     get PopUpMenu(choices,0)
  690.     if it is not empty then put item it of choices into target
  691.   end if
  692. end mouseDown
  693.  
  694.  
  695.  
  696. -- part 38 (field)
  697. -- low flags: 01
  698. -- high flags: 0002
  699. -- rect: left=418 top=153 right=170 bottom=500
  700. -- title width / last selected line: 0
  701. -- icon id / first selected line: 0 / 0
  702. -- text alignment: 0
  703. -- font id: 20
  704. -- text size: 12
  705. -- style flags: 0
  706. -- line height: 16
  707. -- part name: acidity
  708. ----- HyperTalk script -----
  709. on mouseDown
  710.   if fld "lock" is "Unlocked" then
  711.     put "flat,refreshing,marked,tart" into choices
  712.     get PopUpMenu(choices,0)
  713.     if it is not empty then put item it of choices into target
  714.   end if
  715. end mouseDown
  716.  
  717.  
  718.  
  719. -- part 39 (field)
  720. -- low flags: 01
  721. -- high flags: 0002
  722. -- rect: left=418 top=169 right=186 bottom=500
  723. -- title width / last selected line: 0
  724. -- icon id / first selected line: 0 / 0
  725. -- text alignment: 0
  726. -- font id: 20
  727. -- text size: 12
  728. -- style flags: 0
  729. -- line height: 16
  730. -- part name: body
  731. ----- HyperTalk script -----
  732. on mouseDown
  733.   if fld "lock" is "Unlocked" then
  734.     put "v.light & thin,light,medium,full bodied,heavy" into choices
  735.     get PopUpMenu(choices,0)
  736.     if it is not empty then put item it of choices into target
  737.   end if
  738. end mouseDown
  739.  
  740.  
  741.  
  742. -- part 40 (field)
  743. -- low flags: 01
  744. -- high flags: 0002
  745. -- rect: left=418 top=185 right=203 bottom=500
  746. -- title width / last selected line: 0
  747. -- icon id / first selected line: 0 / 0
  748. -- text alignment: 0
  749. -- font id: 20
  750. -- text size: 12
  751. -- style flags: 0
  752. -- line height: 16
  753. -- part name: length
  754. ----- HyperTalk script -----
  755. on mouseDown
  756.   if fld "lock" is "Unlocked" then
  757.     put "short,acceptable,extended,lingering" into choices
  758.     get PopUpMenu(choices,0)
  759.     if it is not empty then put item it of choices into target
  760.   end if
  761. end mouseDown
  762.  
  763.  
  764.  
  765. -- part 41 (field)
  766. -- low flags: 01
  767. -- high flags: 0002
  768. -- rect: left=418 top=201 right=218 bottom=500
  769. -- title width / last selected line: 0
  770. -- icon id / first selected line: 0 / 0
  771. -- text alignment: 0
  772. -- font id: 20
  773. -- text size: 12
  774. -- style flags: 0
  775. -- line height: 16
  776. -- part name: balance
  777. ----- HyperTalk script -----
  778. on mouseDown
  779.   if fld "lock" is "Unlocked" then
  780.     put "unbalanced,good,v.well balanced,perfect" into choices
  781.     get PopUpMenu(choices,0)
  782.     if it is not empty then put item it of choices into target
  783.   end if
  784. end mouseDown
  785.  
  786.  
  787.  
  788. -- part 42 (field)
  789. -- low flags: 01
  790. -- high flags: 0002
  791. -- rect: left=418 top=217 right=234 bottom=500
  792. -- title width / last selected line: 0
  793. -- icon id / first selected line: 0 / 0
  794. -- text alignment: 0
  795. -- font id: 20
  796. -- text size: 12
  797. -- style flags: 0
  798. -- line height: 16
  799. -- part name: taste score
  800. ----- HyperTalk script -----
  801. on mouseDown
  802.   if fld "lock" is "Unlocked" then
  803.     put "0,1,2,3,4,5,6,7,8,9" into choices
  804.     get PopUpMenu(choices,0)
  805.     if it is not empty then put item it of choices into target
  806.   end if
  807. end mouseDown
  808.  
  809.  
  810.  
  811. -- part 43 (field)
  812. -- low flags: 01
  813. -- high flags: 0002
  814. -- rect: left=418 top=233 right=250 bottom=500
  815. -- title width / last selected line: 0
  816. -- icon id / first selected line: 0 / 0
  817. -- text alignment: 0
  818. -- font id: 20
  819. -- text size: 12
  820. -- style flags: 0
  821. -- line height: 16
  822. -- part name: taste description
  823. ----- HyperTalk script -----
  824. on mouseDown
  825.   if fld "lock" is "Unlocked" then
  826.     put "appley,bitter,burning,blackcurrants,caramel,dumb,earthy,fat,flinty,green,heady,inky,flabby,mellow,metallic,mouldy,nutty,salty,sapppy,silky,spicy,fleshy,woody,watery,CLEAR" into choices
  827.     get PopUpMenu(choices,0)
  828.     if it is not empty then
  829.       if target is not empty then put return after target
  830.       if item it of choices is "CLEAR" then
  831.         put empty into target
  832.       else
  833.         put item it of choices after target
  834.       end if
  835.     end if
  836.     put the number of lines of target into nlines
  837.     get rect of target
  838.     if nlines > 0 then
  839.       put (nlines * 16 + 1 + item 2 of it) into length
  840.       put length into item 4 of it
  841.       set rect of target to it
  842.     else
  843.       put (17 + item 2 of it) into length
  844.       put length into item 4 of it
  845.       set rect of target to it
  846.     end if
  847.   end if
  848. end mouseDown
  849.  
  850.  
  851.  
  852. -- part 44 (field)
  853. -- low flags: 01
  854. -- high flags: 0002
  855. -- rect: left=89 top=276 right=293 bottom=163
  856. -- title width / last selected line: 0
  857. -- icon id / first selected line: 0 / 0
  858. -- text alignment: 0
  859. -- font id: 20
  860. -- text size: 12
  861. -- style flags: 0
  862. -- line height: 16
  863. -- part name: overall quality
  864. ----- HyperTalk script -----
  865. on mouseDown
  866.   if fld "lock" is "Unlocked" then
  867.     put "course,poor,acceptable,fine,outstanding" into choices
  868.     get PopUpMenu(choices,0)
  869.     if it is not empty then put item it of choices into target
  870.   end if
  871. end mouseDown
  872.  
  873.  
  874.  
  875. -- part 45 (field)
  876. -- low flags: 01
  877. -- high flags: 0002
  878. -- rect: left=89 top=292 right=309 bottom=163
  879. -- title width / last selected line: 0
  880. -- icon id / first selected line: 0 / 0
  881. -- text alignment: 0
  882. -- font id: 20
  883. -- text size: 12
  884. -- style flags: 0
  885. -- line height: 16
  886. -- part name: overall quality score
  887. ----- HyperTalk script -----
  888. on mouseDown
  889.   if fld "lock" is "Unlocked" then
  890.     put "0,1,2,3" into choices
  891.     get PopUpMenu(choices,0)
  892.     if it is not empty then put item it of choices into target
  893.   end if
  894. end mouseDown
  895.  
  896.  
  897.  
  898. -- part 46 (field)
  899. -- low flags: 01
  900. -- high flags: 0002
  901. -- rect: left=89 top=308 right=325 bottom=163
  902. -- title width / last selected line: 0
  903. -- icon id / first selected line: 0 / 0
  904. -- text alignment: 0
  905. -- font id: 20
  906. -- text size: 12
  907. -- style flags: 0
  908. -- line height: 16
  909. -- part name: overall quality description
  910. ----- HyperTalk script -----
  911. on mouseDown
  912.   if fld "lock" is "Unlocked" then
  913.     put "supple,finesse,breed,elegance,harmonious,rich,delicate,CLEAR" into choices
  914.     get PopUpMenu(choices,0)
  915.     if it is not empty then
  916.       if target is not empty then put return after target
  917.       if item it of choices is "CLEAR" then
  918.         put empty into target
  919.       else
  920.         put item it of choices after target
  921.       end if
  922.     end if
  923.     put the number of lines of target into nlines
  924.     get rect of target
  925.     if nlines > 0 then
  926.       put (nlines * 16 + 1 + item 2 of it) into length
  927.       put length into item 4 of it
  928.       set rect of target to it
  929.     else
  930.       put (17 + item 2 of it) into length
  931.       put length into item 4 of it
  932.       set rect of target to it
  933.     end if
  934.   end if
  935. end mouseDown
  936.  
  937.  
  938.  
  939. -- part 47 (field)
  940. -- low flags: 01
  941. -- high flags: 0000
  942. -- rect: left=8 top=276 right=325 bottom=90
  943. -- title width / last selected line: 0
  944. -- icon id / first selected line: 0 / 0
  945. -- text alignment: 65535
  946. -- font id: 20
  947. -- text size: 12
  948. -- style flags: 0
  949. -- line height: 16
  950. -- part name: overall quality labels
  951.  
  952.  
  953. -- part 48 (field)
  954. -- low flags: 01
  955. -- high flags: 0002
  956. -- rect: left=449 top=31 right=63 bottom=489
  957. -- title width / last selected line: 0
  958. -- icon id / first selected line: 0 / 0
  959. -- text alignment: 1
  960. -- font id: 20
  961. -- text size: 24
  962. -- style flags: 256
  963. -- line height: 32
  964. -- part name: scoring
  965.  
  966.  
  967. -- part 49 (field)
  968. -- low flags: 00
  969. -- high flags: 0002
  970. -- rect: left=59 top=28 right=47 bottom=281
  971. -- title width / last selected line: 0
  972. -- icon id / first selected line: 0 / 0
  973. -- text alignment: 0
  974. -- font id: 20
  975. -- text size: 14
  976. -- style flags: 0
  977. -- line height: 18
  978. -- part name: name
  979.  
  980.  
  981. -- part 50 (field)
  982. -- low flags: 00
  983. -- high flags: 0002
  984. -- rect: left=59 top=48 right=67 bottom=206
  985. -- title width / last selected line: 0
  986. -- icon id / first selected line: 0 / 0
  987. -- text alignment: 0
  988. -- font id: 20
  989. -- text size: 14
  990. -- style flags: 0
  991. -- line height: 18
  992. -- part name: district
  993.  
  994.  
  995. -- part 51 (field)
  996. -- low flags: 00
  997. -- high flags: 0002
  998. -- rect: left=59 top=68 right=87 bottom=206
  999. -- title width / last selected line: 0
  1000. -- icon id / first selected line: 0 / 0
  1001. -- text alignment: 0
  1002. -- font id: 20
  1003. -- text size: 14
  1004. -- style flags: 0
  1005. -- line height: 18
  1006. -- part name: type
  1007.  
  1008.  
  1009. -- part 56 (field)
  1010. -- low flags: 00
  1011. -- high flags: 0002
  1012. -- rect: left=338 top=28 right=47 bottom=387
  1013. -- title width / last selected line: 0
  1014. -- icon id / first selected line: 0 / 0
  1015. -- text alignment: 1
  1016. -- font id: 20
  1017. -- text size: 14
  1018. -- style flags: 0
  1019. -- line height: 18
  1020. -- part name: vintage
  1021.  
  1022.  
  1023. -- part 57 (field)
  1024. -- low flags: 00
  1025. -- high flags: 0002
  1026. -- rect: left=338 top=48 right=67 bottom=387
  1027. -- title width / last selected line: 0
  1028. -- icon id / first selected line: 0 / 0
  1029. -- text alignment: 0
  1030. -- font id: 20
  1031. -- text size: 14
  1032. -- style flags: 0
  1033. -- line height: 18
  1034. -- part name: price
  1035.  
  1036.  
  1037. -- part 58 (field)
  1038. -- low flags: 00
  1039. -- high flags: 0002
  1040. -- rect: left=338 top=68 right=87 bottom=502
  1041. -- title width / last selected line: 0
  1042. -- icon id / first selected line: 0 / 0
  1043. -- text alignment: 0
  1044. -- font id: 20
  1045. -- text size: 14
  1046. -- style flags: 0
  1047. -- line height: 18
  1048. -- part name: merchant
  1049.  
  1050.  
  1051. -- part 60 (field)
  1052. -- low flags: 00
  1053. -- high flags: 0002
  1054. -- rect: left=338 top=88 right=107 bottom=502
  1055. -- title width / last selected line: 0
  1056. -- icon id / first selected line: 0 / 0
  1057. -- text alignment: 0
  1058. -- font id: 20
  1059. -- text size: 14
  1060. -- style flags: 0
  1061. -- line height: 18
  1062. -- part name: date of tasting
  1063.  
  1064.  
  1065. -- part 61 (field)
  1066. -- low flags: 00
  1067. -- high flags: 0002
  1068. -- rect: left=59 top=88 right=107 bottom=240
  1069. -- title width / last selected line: 0
  1070. -- icon id / first selected line: 0 / 0
  1071. -- text alignment: 0
  1072. -- font id: 20
  1073. -- text size: 14
  1074. -- style flags: 0
  1075. -- line height: 18
  1076. -- part name: taster
  1077.  
  1078.  
  1079. -- part 62 (field)
  1080. -- low flags: 81
  1081. -- high flags: 0000
  1082. -- rect: left=209 top=58 right=78 bottom=270
  1083. -- title width / last selected line: 0
  1084. -- icon id / first selected line: 0 / 0
  1085. -- text alignment: 0
  1086. -- font id: 3
  1087. -- text size: 12
  1088. -- style flags: 0
  1089. -- line height: 16
  1090. -- part name: red-white
  1091.  
  1092.  
  1093. -- part 63 (button)
  1094. -- low flags: 00
  1095. -- high flags: A002
  1096. -- rect: left=361 top=317 right=335 bottom=433
  1097. -- title width / last selected line: 0
  1098. -- icon id / first selected line: 0 / 0
  1099. -- text alignment: 1
  1100. -- font id: 0
  1101. -- text size: 12
  1102. -- style flags: 0
  1103. -- line height: 16
  1104. -- part name: New Card
  1105. ----- HyperTalk script -----
  1106. on mouseUp
  1107.   if the commandkey is down then
  1108.     put true into ck
  1109.   else
  1110.     put false into ck
  1111.   end if
  1112.   put  fld "red-white" into rw
  1113.   if ck is true then
  1114.     put  fld "taster" into taster
  1115.     put fld "name" into name
  1116.     put fld "vintage" into vintage
  1117.     put fld "district" into district
  1118.     put fld "type" into type
  1119.     put fld "price" into price
  1120.     put fld "merchant" into merchant
  1121.     put fld "date of tasting" into dateoftasting
  1122.   end if
  1123.   domenu "new card"
  1124.   put rw into bkgnd fld "red-white"
  1125.   if bkgnd fld "red-white" is "red" then
  1126.     set highlight of bkgnd btn "red" to true
  1127.     set highlight of bkgnd btn "white" to false
  1128.     put "Tannin" into bkgnd fld "sweetness-tannin label"
  1129.   end if
  1130.   if bkgnd fld "red-white" is "white" then
  1131.     set highlight of bkgnd btn "white" to true
  1132.     set highlight of bkgnd btn "red" to false
  1133.     put "Sweetness" into bkgnd fld "sweetness-tannin label"
  1134.   end if
  1135.   if ck is true then
  1136.     put taster into fld "taster"
  1137.     put name into fld "name"
  1138.     put vintage into fld "vintage"
  1139.     put district into fld "district"
  1140.     put type into fld "type"
  1141.     put price into fld "price"
  1142.     put merchant into fld "merchant"
  1143.     put dateoftasting into fld "date of tasting"
  1144.   end if
  1145.   put "Unlocked" into fld "lock"
  1146.   unlockit
  1147. end mouseUp
  1148.  
  1149.  
  1150.  
  1151. -- part 66 (button)
  1152. -- low flags: 00
  1153. -- high flags: 2000
  1154. -- rect: left=123 top=115 right=133 bottom=141
  1155. -- title width / last selected line: 0
  1156. -- icon id / first selected line: 27721 / 27721
  1157. -- text alignment: 1
  1158. -- font id: 0
  1159. -- text size: 12
  1160. -- style flags: 0
  1161. -- line height: 16
  1162. -- part name: sightcom
  1163. ----- HyperTalk script -----
  1164. on mouseUp
  1165.   if the visible of fld "sightcom" is false then
  1166.     show fld "sightcom"
  1167.     if fld "lock" is "Unlocked" then
  1168.       select after last char of fld "sightcom"
  1169.     end if
  1170.   else
  1171.     if fld "sightcom" is empty then
  1172.       set icon of me to "nocom"
  1173.     else
  1174.       set icon of me to "com"
  1175.     end if
  1176.     hide fld "sightcom"
  1177.   end if
  1178. end mouseUp
  1179.  
  1180.  
  1181.  
  1182. -- part 67 (field)
  1183. -- low flags: 80
  1184. -- high flags: 0004
  1185. -- rect: left=5 top=133 right=257 bottom=168
  1186. -- title width / last selected line: 0
  1187. -- icon id / first selected line: 0 / 0
  1188. -- text alignment: 0
  1189. -- font id: 20
  1190. -- text size: 12
  1191. -- style flags: 0
  1192. -- line height: 16
  1193. -- part name: sightcom
  1194.  
  1195.  
  1196. -- part 68 (field)
  1197. -- low flags: 80
  1198. -- high flags: 0004
  1199. -- rect: left=179 top=133 right=257 bottom=342
  1200. -- title width / last selected line: 0
  1201. -- icon id / first selected line: 0 / 0
  1202. -- text alignment: 0
  1203. -- font id: 20
  1204. -- text size: 12
  1205. -- style flags: 0
  1206. -- line height: 16
  1207. -- part name: smellcom
  1208.  
  1209.  
  1210. -- part 69 (field)
  1211. -- low flags: 80
  1212. -- high flags: 0004
  1213. -- rect: left=351 top=133 right=259 bottom=506
  1214. -- title width / last selected line: 0
  1215. -- icon id / first selected line: 0 / 0
  1216. -- text alignment: 0
  1217. -- font id: 20
  1218. -- text size: 12
  1219. -- style flags: 0
  1220. -- line height: 16
  1221. -- part name: tastecom
  1222.  
  1223.  
  1224. -- part 70 (button)
  1225. -- low flags: 00
  1226. -- high flags: 2000
  1227. -- rect: left=299 top=114 right=132 bottom=317
  1228. -- title width / last selected line: 0
  1229. -- icon id / first selected line: 27721 / 27721
  1230. -- text alignment: 1
  1231. -- font id: 0
  1232. -- text size: 12
  1233. -- style flags: 0
  1234. -- line height: 16
  1235. -- part name: smellcom
  1236. ----- HyperTalk script -----
  1237. on mouseUp
  1238.   if the visible of fld "smellcom" is false then
  1239.     show fld "smellcom"
  1240.     if fld "lock" is "Unlocked" then
  1241.       select after last char of fld "smellcom"
  1242.     end if
  1243.   else
  1244.     if fld "smellcom" is empty then
  1245.       set icon of me to "nocom"
  1246.     else
  1247.       set icon of me to "com"
  1248.     end if
  1249.     hide fld "smellcom"
  1250.   end if
  1251. end mouseUp
  1252.  
  1253.  
  1254.  
  1255. -- part 71 (button)
  1256. -- low flags: 00
  1257. -- high flags: 2000
  1258. -- rect: left=461 top=115 right=133 bottom=479
  1259. -- title width / last selected line: 0
  1260. -- icon id / first selected line: 27721 / 27721
  1261. -- text alignment: 1
  1262. -- font id: 0
  1263. -- text size: 12
  1264. -- style flags: 0
  1265. -- line height: 16
  1266. -- part name: tastecom
  1267. ----- HyperTalk script -----
  1268. on mouseUp
  1269.   if the visible of fld "tastecom" is false then
  1270.     show fld "tastecom"
  1271.     if fld "lock" is "Unlocked" then
  1272.       select after last char of fld "tastecom"
  1273.     end if
  1274.   else
  1275.     if fld "tastecom" is empty then
  1276.       set icon of me to "nocom"
  1277.     else
  1278.       set icon of me to "com"
  1279.     end if
  1280.     hide fld "tastecom"
  1281.   end if
  1282. end mouseUp
  1283.  
  1284.  
  1285.  
  1286. -- part 73 (field)
  1287. -- low flags: 81
  1288. -- high flags: 0002
  1289. -- rect: left=365 top=266 right=284 bottom=417
  1290. -- title width / last selected line: 0
  1291. -- icon id / first selected line: 0 / 0
  1292. -- text alignment: 1
  1293. -- font id: 20
  1294. -- text size: 12
  1295. -- style flags: 0
  1296. -- line height: 16
  1297. -- part name: lock
  1298. ----- HyperTalk script -----
  1299. on mousedown
  1300.   if me is "Locked" then
  1301.     put "Unlocked" into me
  1302.     unlockit
  1303.   else
  1304.     put "Locked" into me
  1305.     lockit
  1306.   end if
  1307. end mousedown
  1308.  
  1309.  
  1310.  
  1311. -- part 75 (button)
  1312. -- low flags: 00
  1313. -- high flags: 2000
  1314. -- rect: left=357 top=261 right=287 bottom=382
  1315. -- title width / last selected line: 0
  1316. -- icon id / first selected line: 6123 / 6123
  1317. -- text alignment: 1
  1318. -- font id: 0
  1319. -- text size: 12
  1320. -- style flags: 0
  1321. -- line height: 16
  1322. -- part name: lock
  1323. ----- HyperTalk script -----
  1324. on mouseup
  1325.   if fld "lock" is "Locked" then
  1326.     put "Unlocked" into fld "lock"
  1327.     set icon of me to "unlocked"
  1328.     unlockit
  1329.   else
  1330.     put "Locked" into fld "lock"
  1331.     set icon of me to "locked"
  1332.     lockit
  1333.   end if
  1334. end mouseup
  1335.  
  1336.  
  1337.  
  1338. -- part 9 (button)
  1339. -- low flags: 00
  1340. -- high flags: 2000
  1341. -- rect: left=443 top=312 right=338 bottom=469
  1342. -- title width / last selected line: 0
  1343. -- icon id / first selected line: 1014 / 1014
  1344. -- text alignment: 1
  1345. -- font id: 0
  1346. -- text size: 12
  1347. -- style flags: 0
  1348. -- line height: 16
  1349. -- part name: Prev
  1350. ----- HyperTalk script -----
  1351. on mouseUp
  1352.   set cursor to 4
  1353.   lock screen
  1354.   go to prev card
  1355.   unlock screen with visual wipe right
  1356.   set cursor to 1
  1357. end mouseUp
  1358.  
  1359.  
  1360.  
  1361. -- part 8 (button)
  1362. -- low flags: 00
  1363. -- high flags: 2000
  1364. -- rect: left=475 top=311 right=337 bottom=499
  1365. -- title width / last selected line: 0
  1366. -- icon id / first selected line: 1013 / 1013
  1367. -- text alignment: 1
  1368. -- font id: 0
  1369. -- text size: 12
  1370. -- style flags: 0
  1371. -- line height: 16
  1372. -- part name: Next
  1373. ----- HyperTalk script -----
  1374. on mouseUp
  1375.   set cursor to 4
  1376.   lock screen
  1377.   go to next card
  1378.   unlock screen with visual wipe left
  1379.   set cursor to 1
  1380. end mouseUp
  1381.  
  1382.  
  1383.  
  1384. -- part 76 (button)
  1385. -- low flags: 00
  1386. -- high flags: 2000
  1387. -- rect: left=357 top=291 right=313 bottom=384
  1388. -- title width / last selected line: 0
  1389. -- icon id / first selected line: 19678 / 19678
  1390. -- text alignment: 1
  1391. -- font id: 0
  1392. -- text size: 12
  1393. -- style flags: 0
  1394. -- line height: 16
  1395. -- part name: 
  1396. ----- HyperTalk script -----
  1397. on mouseUp
  1398.   set cursor to 4
  1399.   lock screen
  1400.   if the visible of fld "about" is false then
  1401.     show fld "about"
  1402.     put "Wine tasting stack by Len Saaf" & return into fld "about"
  1403.     --put "┬⌐1990 Raleigh Associates" & return after fld "about"
  1404.     put "This stack is free.  It may be copied and " after fld "about"
  1405.     put "distributed as long as you don't charge for it." after fld "about"
  1406.     put return & return after fld "about"
  1407.     put "I hope the stack is fairly self-explanatory.  " after fld "about"
  1408.     put "The rating system is based on a card that appears" after fld "about"
  1409.     put " in a wine-tasting book by Michael Broadbent.  " after fld "about"
  1410.     put "It was designed for use in the 'Sunday Times" after fld "about"
  1411.     put " Wine-tasting Club,' and is used here without"  after fld "about"
  1412.     put " permission.  "  after fld "about"
  1413.     put "Evaluation of the wine is broken up into four categories: sight, smell," after fld "about"
  1414.     put " taste, and overall quality.  Each of these categories has a number of" after fld "about"
  1415.     put " characteristics that are judged by picking one of a few qualifiers using" after fld "about"
  1416.     put " pop-up menus.  For instance, the characteristics of 'smell' here are" after fld "about"
  1417.     put " general appeal, fruit aroma, and bouquet.  There are also a nuber" after fld "about"
  1418.     put " of descriptive terms, any number of which can be chosen via pop-up" after fld "about"
  1419.     put " menus at the 'Description' entry.  Terms may be erased by choosing the" after fld "about"
  1420.     put " last menu choice, 'CLEAR.'  Comments for three of the four categories" after fld "about"
  1421.     put " are entered using the small document icons by the category headings." after fld "about"
  1422.     put " When pressed, these buttons pop up a window for comments (or hide them" after fld "about"
  1423.     put " if they are already visible).  An icon with lines in it siglifies the" after fld "about"
  1424.     put " the presence of comments."  after fld "about"
  1425.     put "  The total score is calculated automatically when" after fld "about"
  1426.     put " all the partial scores have been entered." after fld "about"
  1427.     put return & return after fld "about"
  1428.     put "The button with the icon depicting a stack of cards with four arrows" after fld "about"
  1429.     put " pops up a list of the names of all the cards in the stack and" after fld "about"
  1430.     put " allows you to go directly to any one.  The button with the 'sorting" after fld "about"
  1431.     put " hand' icon sorts the cards in the stack by name, vintage, or score. " after fld "about"
  1432.     put " The padlock button locks and unlocks the fields of the card so that," after fld "about"
  1433.     put " once an entry is made, subsequent inadvertant changes can be avoided." after fld "about"
  1434.     put "If the command key is held down while pushing the 'New Card' button," after fld "about"
  1435.     put " the fields from the present card will be copied into the new card." after fld "about"
  1436.     put " The rest of the buttons should be self-explanatory." after fld "about"
  1437.     put return & return after fld "about"
  1438.     put " I hope this stack is useful for you, and I would be interested to" after fld "about"
  1439.     put " hear your comments and/or suggestions.  My E-mail address is:" after fld "about"
  1440.     put  return & return after fld "about"
  1441.     put "saaf@joker.optics.rochester.edu" & return & return after fld "about"
  1442.     put "and my 'physical' mail address is:" & return & return after fld "about"
  1443.     put "Len Saaf" & return after fld "about"
  1444.     put "52 Raleigh St." & return after fld "about"
  1445.     put "Rochester, NY 14620 USA" & return & return after fld "about"
  1446.     put "Enjoy!" after fld "about"
  1447.     set the scroll of fld "about" to 0
  1448.   else
  1449.     hide fld "about"
  1450.   end if
  1451.   set cursor to 1
  1452.   unlock screen with dissolve
  1453. end mouseUp
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464. -- part 77 (field)
  1465. -- low flags: 81
  1466. -- high flags: 0007
  1467. -- rect: left=0 top=20 right=117 bottom=512
  1468. -- title width / last selected line: 0
  1469. -- icon id / first selected line: 0 / 0
  1470. -- text alignment: 0
  1471. -- font id: 20
  1472. -- text size: 12
  1473. -- style flags: 0
  1474. -- line height: 16
  1475. -- part name: about
  1476. ----- HyperTalk script -----
  1477. on mousedown
  1478.   lock screen
  1479.   hide me
  1480.   unlock screen with dissolve
  1481. end mousedown
  1482.  
  1483.